package com.youfang.sixthmedia.message;

import java.util.List;

import com.youfang.sixthmedia.common.YoufangContext;
import com.youfang.sixthmedia.net.Pair;
import com.youfang.sixthmedia.net.Request;

public class GetNearHouseRequest extends Request {

	private int pagesize = YoufangContext.LIST_PAGE_SIZE;
	private int page = 1;

	private String lat;
	private String lon;
	private int accurancy;

	@Override
	public List<Pair> getParams() {
		return Pair.p("controller", "online").p("action", "GetNearHouse")
				.p("lat", lat).p("lon", lon).p("accurancy", accurancy).get();
	}

	@Override
	public void genMetaData() {
		// TODO Auto-generated method stub

	}
	
	

	public int getAccurancy() {
		return accurancy;
	}

	public void setAccurancy(int accurancy) {
		this.accurancy = accurancy;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLon() {
		return lon;
	}

	public void setLon(String lon) {
		this.lon = lon;
	}

	public int getPagesize() {
		return pagesize;
	}

	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

}
